const sequelize = require("sequelize")

var sequ = new sequelize('tb_users','root','12345678',{
    host: 'localhost',
    dialect: 'mysql',
    port: 3306,
    // 其他可选配置
    pool: {
        max: 5,
        min: 0,
        idle: 10000
    },
    logging: true, // 关闭日志
})

module.exports = sequ